package onebymany;

import java.util.ArrayList;
import java.util.List;

public class Grade {
	private Integer id;
	private String name;
	private List<Stud> studlist=new ArrayList<Stud>();//关联属性
    public Grade() {}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public List<Stud> getStudlist() {
		return studlist;
	}
	public void setStudlist(List<Stud> studlist) {
		this.studlist = studlist;
	}
	
		
	

}
